package com.example.travel.domain.response;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Author : LinQingLiang
 * @file : Cart.java
 * @Since : 2023/2/23 10:54
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CartSpotResponseVo {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer spotId;
    private Integer userId;
    private Integer num;
    private String time;

    private String spotName;
    private String spotUrl;
    private BigDecimal cost;

    private String username;
    private String nickName;
}
